import {request} from '@/api/request.js'

// 轮播图
export  function bannerAds(){
	return request({
		url:'/lejuClient/home/bannerAds',
	})
}

//分类
export  function findCategory(id){
	return request({
		url:`/lejuClient/productCategory/findCategory/${id}`,
	})
}

//限时活动
export  function recommendList(){
	return request({
		url:'/lejuClient/home/recommendList',
	})
}

//热门推荐
export  function hotList(){
	return request({
		url:'/lejuClient/home/hotList',
	})
}

//新品推荐
export  function lejuLatestProducts(){
	return request({
		url:'/lejuClient/home/lejuLatestProducts',
	})
}

//猜你喜欢
export  function saleMostProducts(){
	return request({
		url:'/lejuClient/home/saleMostProducts',
	})
}

//分类商品列表
export  function findProductList(start,limit,data){
	return request({
		method:'post',
		url:`/lejuClient/product/findProductList/${start}/${limit}`,
		data,
	})
}



